package xian.woniuxy.service;

import xian.woniuxy.entity.Type;
import xian.woniuxy.utils.Pageable;

import java.util.List;

public interface ITypeService {

    Pageable findAll(int page, int size);

    List<Type> findAll();

    List<Type> findByTypeName(String type_name);

    void save(Type type);

    void deleteById(int id);

    void upd(Type type);
}
